import './style.scss';

export default function(props) {
  const { msgTitle, originalMessageDigest } = props.msgContent;

  return <div className="chatRecordComponent">
    <div className="titleBar">
      { msgTitle }
    </div>
    <div className="content">
      {originalMessageDigest.filter((_, index) => index < 5).map((item, index) => <div key={index}>{item}</div>
      )}
    </div>
  </div>
}